home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Modem / SCR info / scr-northwest-nexus.txt < prev   
Text File  |  1994-07-05  |  718b  |  51 lines

  1. !
  2. ! InterSLIP gateway script for Morthwest Nexus
  3. !
  4. ! 01-Nov-93: Increased all matchread statements to 500
  5. !
  6. @originate
  7. note "Waiting for prompt"
  8. matchclr
  9. matchstr 1 1 "login:"
  10. matchread 500
  11. note "Gateway not responding!"
  12. exit -1
  13. !
  14. @label 1
  15. note "Sending user name"
  16. write "^5\13"
  17. matchclr
  18. matchstr 1 2 "Password:"
  19. matchread 500
  20. note "Gateway not responding!"
  21. exit -1
  22. !
  23. @label 2
  24. note "Sending password"
  25. write "^6\13"
  26. matchclr
  27. matchexp 1 4 "[0-9][0-9]*\\.[0-9][0-9]*\\.[0-9][0-9]*\\.[0-9][0-9]* "
  28. matchstr 2 3 "Login"
  29. matchread 500
  30. jump 99
  31. !
  32. @label 3
  33. note "Login incorrect"
  34. jump 99
  35. !
  36. @label 99
  37. pause 1
  38. pause 60
  39. exit -1
  40. !
  41. @label 4
  42. note "Setting IP address"
  43. setIP "^0"
  44. exit 0
  45. !
  46. ! currently unused:
  47. !
  48. @answer
  49. @hangup
  50. exit 0
  51.